﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FinalProject.Entities;
using FinalProject.Data.Search;

namespace FinalProject.Services.Interfaces
{
    public interface IClientService
    {
        PagedListResult<Client> GetAll();
        Client GetById(int id);
        void Create(Client entity);
        void Update(Client entity);
        void Delete(int id);
        void Save();
        IEnumerable<Client> GetLastAccessedClients(int x);
        PagedListResult<Client> SearchClient(string name);
        Client GetClientWithTickets(int id);
    }
}
